package action;
import com.opensymphony.xwork2.ActionSupport;

import dominio.GestorUsuario;
public class Validar extends ActionSupport{
	private static final long serialVersionUID = 1L;
		
		private String userlogin;
		private String userpwd;
		
		public String getUserlogin() {
			return userlogin;
		}

		public void setUserlogin(String userlogin) {
			this.userlogin = userlogin;
		}

		public String getUserpwd() {
			return userpwd;
		}

		public void setUserpwd(String userpwd) {
			this.userpwd = userpwd;
		}

		public static long getSerialversionuid() {
			return serialVersionUID;
		}


		
		public String execute() throws Exception{
			
			return new GestorUsuario().validar(userlogin,userpwd);
		}
		
		
	


}
